package com.party.core.service.mall;

import com.party.common.paging.Page;
import com.party.core.model.mall.MallShowCategory;
import com.party.core.model.mall.MallShowCategoryQuery;
import com.party.core.service.IBaseService;

import java.util.List;

/**
 * 展示商品类型接口
 * Created by wei.li
 *
 * @date 2017/8/24 0024
 * @time 15:18
 */
public interface IMallShowCategoryService extends IBaseService<MallShowCategory> {

    /**
     * 展示商品类型查询
     * @param mallShowCategoryQuery
     * @param page 分页参数
     * @return 列表数据
     */
    List<MallShowCategory> queryListPage(MallShowCategoryQuery mallShowCategoryQuery, Page page);

    void deleteByTemplateId(String templateId);

    void deleteBySubjectId(String subjectId);

    List<MallShowCategory> findByTemplateId(String templateId);
}
